DeviceConfigOrBuilder

interface DeviceConfigOrBuilder : MessageOrBuilder

Inheritors

Functions

Link copied to clipboard
abstract fun getButtonGpio(): Int

For boards without a hard wired button, this is the pin number that will be used
Boards that have more than one button can swap the function with this one. defaults to BUTTON_PIN if defined.
uint32 button_gpio = 4;
Link copied to clipboard
abstract fun getBuzzerGpio(): Int

For boards without a PWM buzzer, this is the pin number that will be used
Defaults to PIN_BUZZER if defined.
uint32 buzzer_gpio = 5;
Link copied to clipboard

Controls buzzer behavior for audio feedback
Defaults to ENABLED
.meshtastic.Config.DeviceConfig.BuzzerMode buzzer_mode = 13;
Link copied to clipboard
abstract fun getBuzzerModeValue(): Int

Controls buzzer behavior for audio feedback
Defaults to ENABLED
.meshtastic.Config.DeviceConfig.BuzzerMode buzzer_mode = 13;
Link copied to clipboard

Disables the triple-press of user button to enable or disable GPS
bool disable_triple_click = 10;
Link copied to clipboard

Treat double tap interrupt on supported accelerometers as a button press if set to true
bool double_tap_as_button_press = 8;
Link copied to clipboard
abstract fun getIsManaged(): Boolean

If true, device is considered to be "managed" by a mesh administrator
Clients should then limit available configuration and administrative options inside the user interface
Moved to SecurityConfig
bool is_managed = 9 [deprecated = true];
Link copied to clipboard

If true, disable the default blinking LED (LED_PIN) behavior on the device
bool led_heartbeat_disabled = 12;
Link copied to clipboard

Send our nodeinfo this often
Defaults to 900 Seconds (15 minutes)
uint32 node_info_broadcast_secs = 7;
Link copied to clipboard

Sets the role of node
.meshtastic.Config.DeviceConfig.RebroadcastMode rebroadcast_mode = 6;
Link copied to clipboard

Sets the role of node
.meshtastic.Config.DeviceConfig.RebroadcastMode rebroadcast_mode = 6;
Link copied to clipboard

Sets the role of node
.meshtastic.Config.DeviceConfig.Role role = 1;
Link copied to clipboard
abstract fun getRoleValue(): Int

Sets the role of node
.meshtastic.Config.DeviceConfig.Role role = 1;
Link copied to clipboard
abstract fun getSerialEnabled(): Boolean

Disabling this will disable the SerialConsole by not initilizing the StreamAPI
Moved to SecurityConfig
bool serial_enabled = 2 [deprecated = true];
Link copied to clipboard
abstract fun getTzdef(): String

POSIX Timezone definition string from https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv.
string tzdef = 11;
Link copied to clipboard
abstract fun getTzdefBytes(): ByteString

POSIX Timezone definition string from https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv.
string tzdef = 11;